﻿namespace HRM.CORE
{
    using DevExpress.XtraBars;
    using DevExpress.XtraBars.Ribbon;
    using DevExpress.XtraEditors;
    using DevExpress.XtraEditors.Controls;
    using DevExpress.XtraEditors.Repository;
    using DevExpress.XtraGrid;
    using DevExpress.XtraGrid.Columns;
    using DevExpress.XtraGrid.Views.Grid;
    using DevExpress.XtraTab;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms; using Common;
    using DevExpress.XtraGrid.Views.Base;

    public class xfmTrash : XtraForm
    {
        private BarButtonItem barButtonItem1;
        private BarButtonItem barButtonItem2;
        private BarButtonItem barButtonItem3;
        private BarDockControl barDockControlBottom;
        private BarDockControl barDockControlLeft;
        private BarDockControl barDockControlRight;
        private BarDockControl barDockControlTop;
        private BarManager barManager1;
        private BarButtonItem bbiDelete;
        private IContainer components = null;
        private GridColumn gridColumn5;
        private GridColumn gridColumn6;
        private GridColumn gridColumn7;
        private GridControl gridControl1;
        private GridControl gridControl2;
        private GridView gridView1;
        private GridView gridView2;
        private RepositoryItemDateEdit repBeginDate;
        private RepositoryItemGridLookUpEdit repEmployee;
        private RepositoryItemComboBox repEmployeeName;
        private RepositoryItemComboBox repFilter;
        private GridView repositoryItemGridLookUpEdit1View;
        private RepositoryItemDateEdit repToDate;
        private RibbonControl ribbonControl1;
        private RibbonPage ribbonPage1;
        private RibbonPageGroup ribbonPageGroup1;
        private XtraTabPage tabCandidate;
        private XtraTabPage tabEmployee;
        private XtraTabControl xtraTabControl1;

        public xfmTrash()
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            this.barManager1 = new BarManager(this.components);
            this.barDockControlTop = new BarDockControl();
            this.barDockControlBottom = new BarDockControl();
            this.barDockControlLeft = new BarDockControl();
            this.barDockControlRight = new BarDockControl();
            this.barButtonItem3 = new BarButtonItem();
            this.bbiDelete = new BarButtonItem();
            this.barButtonItem1 = new BarButtonItem();
            this.barButtonItem2 = new BarButtonItem();
            this.repEmployee = new RepositoryItemGridLookUpEdit();
            this.repositoryItemGridLookUpEdit1View = new GridView();
            this.gridColumn5 = new GridColumn();
            this.gridColumn6 = new GridColumn();
            this.gridColumn7 = new GridColumn();
            this.repEmployeeName = new RepositoryItemComboBox();
            this.repFilter = new RepositoryItemComboBox();
            this.repBeginDate = new RepositoryItemDateEdit();
            this.repToDate = new RepositoryItemDateEdit();
            this.tabCandidate = new XtraTabPage();
            this.gridControl2 = new GridControl();
            this.gridView2 = new GridView();
            this.tabEmployee = new XtraTabPage();
            this.gridControl1 = new GridControl();
            this.gridView1 = new GridView();
            this.xtraTabControl1 = new XtraTabControl();
            this.ribbonControl1 = new RibbonControl();
            this.ribbonPage1 = new RibbonPage();
            this.ribbonPageGroup1 = new RibbonPageGroup();
            this.barManager1.BeginInit();
            this.repEmployee.BeginInit();
            this.repositoryItemGridLookUpEdit1View.BeginInit();
            this.repEmployeeName.BeginInit();
            this.repFilter.BeginInit();
            this.repBeginDate.BeginInit();
            this.repBeginDate.VistaTimeProperties.BeginInit();
            this.repToDate.BeginInit();
            this.repToDate.VistaTimeProperties.BeginInit();
            this.tabCandidate.SuspendLayout();
            this.gridControl2.BeginInit();
            this.gridView2.BeginInit();
            this.tabEmployee.SuspendLayout();
            this.gridControl1.BeginInit();
            this.gridView1.BeginInit();
            this.xtraTabControl1.BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.ribbonControl1.BeginInit();
            base.SuspendLayout();
            this.barManager1.DockControls.Add(this.barDockControlTop);
            this.barManager1.DockControls.Add(this.barDockControlBottom);
            this.barManager1.DockControls.Add(this.barDockControlLeft);
            this.barManager1.DockControls.Add(this.barDockControlRight);
            this.barManager1.Form = this;
            this.barManager1.Items.AddRange(new BarItem[] { this.barButtonItem3, this.bbiDelete, this.barButtonItem1, this.barButtonItem2 });
            this.barManager1.MaxItemId = 12;
            this.barManager1.RepositoryItems.AddRange(new RepositoryItem[] { this.repEmployee, this.repEmployeeName, this.repFilter, this.repBeginDate, this.repToDate });
            this.barButtonItem3.Caption = "Đ\x00f3ng";
            this.barButtonItem3.Id = 8;
            this.barButtonItem3.ImageIndex = 0x16;
            this.barButtonItem3.Name = "barButtonItem3";
            this.bbiDelete.Caption = "X\x00f3a";
            this.bbiDelete.Id = 9;
            this.bbiDelete.ImageIndex = 13;
            this.bbiDelete.Name = "bbiDelete";
            this.barButtonItem1.Caption = "Lấy Lại";
            this.barButtonItem1.Id = 10;
            this.barButtonItem1.ImageIndex = 11;
            this.barButtonItem1.Name = "barButtonItem1";
            this.barButtonItem2.Caption = "Nạp Lại";
            this.barButtonItem2.Id = 11;
            this.barButtonItem2.ImageIndex = 0x2a;
            this.barButtonItem2.Name = "barButtonItem2";
            this.repEmployee.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.repEmployee.Appearance.Options.UseFont = true;
            this.repEmployee.AutoHeight = false;
            this.repEmployee.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.repEmployee.Name = "repEmployee";
            this.repEmployee.NullText = "[Chọn nh\x00e2n vi\x00ean theo m\x00e3 số]";
            this.repEmployee.View = this.repositoryItemGridLookUpEdit1View;
            this.repositoryItemGridLookUpEdit1View.Columns.AddRange(new GridColumn[] { this.gridColumn5, this.gridColumn6, this.gridColumn7 });
            this.repositoryItemGridLookUpEdit1View.FocusRectStyle = DrawFocusRectStyle.RowFocus;
            this.repositoryItemGridLookUpEdit1View.Name = "repositoryItemGridLookUpEdit1View";
            this.repositoryItemGridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.repositoryItemGridLookUpEdit1View.OptionsView.ShowAutoFilterRow = true;
            this.repositoryItemGridLookUpEdit1View.OptionsView.ShowGroupPanel = false;
            this.gridColumn5.Caption = "M\x00e3 nh\x00e2n vi\x00ean";
            this.gridColumn5.FieldName = "EmployeeCode";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.Visible = true;
            this.gridColumn5.VisibleIndex = 0;
            this.gridColumn5.Width = 0x57;
            this.gridColumn6.Caption = "Họ l\x00f3t";
            this.gridColumn6.FieldName = "FirstName";
            this.gridColumn6.Name = "gridColumn6";
            this.gridColumn6.Visible = true;
            this.gridColumn6.VisibleIndex = 1;
            this.gridColumn6.Width = 130;
            this.gridColumn7.Caption = "T\x00ean";
            this.gridColumn7.FieldName = "LastName";
            this.gridColumn7.Name = "gridColumn7";
            this.gridColumn7.Visible = true;
            this.gridColumn7.VisibleIndex = 2;
            this.gridColumn7.Width = 80;
            this.repEmployeeName.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.repEmployeeName.Appearance.Options.UseFont = true;
            this.repEmployeeName.AutoHeight = false;
            this.repEmployeeName.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.repEmployeeName.Name = "repEmployeeName";
            this.repEmployeeName.NullText = "[T\x00ean Nh\x00e2n Vi\x00ean]";
            this.repEmployeeName.ReadOnly = true;
            this.repFilter.AutoHeight = false;
            this.repFilter.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.repFilter.Items.AddRange(new object[] { "<Tất Cả>", "<Theo Thời Gian>" });
            this.repFilter.Name = "repFilter";
            this.repFilter.TextEditStyle = TextEditStyles.DisableTextEditor;
            this.repBeginDate.AutoHeight = false;
            this.repBeginDate.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.repBeginDate.Name = "repBeginDate";
            this.repBeginDate.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.repToDate.AutoHeight = false;
            this.repToDate.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.repToDate.Name = "repToDate";
            this.repToDate.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.tabCandidate.Controls.Add(this.gridControl2);
            this.tabCandidate.Name = "tabCandidate";
            this.tabCandidate.Size = new Size(740, 0x120);
            this.tabCandidate.Text = "Danh S\x00e1ch Ứng Vi\x00ean Đ\x00e3 X\x00f3a";
            this.gridControl2.Dock = DockStyle.Fill;
            this.gridControl2.Location = new Point(0, 0);
            this.gridControl2.MainView = this.gridView2;
            this.gridControl2.MenuManager = this.barManager1;
            this.gridControl2.Name = "gridControl2";
            this.gridControl2.Size = new Size(740, 0x120);
            this.gridControl2.TabIndex = 0;
            this.gridControl2.ViewCollection.AddRange(new BaseView[] { this.gridView2 });
            this.gridView2.BorderStyle = BorderStyles.NoBorder;
            this.gridView2.GridControl = this.gridControl2;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.tabEmployee.Controls.Add(this.gridControl1);
            this.tabEmployee.Name = "tabEmployee";
            this.tabEmployee.Size = new Size(740, 0x120);
            this.tabEmployee.Text = "Danh S\x00e1ch Nh\x00e2n Vi\x00ean Đ\x00e3 X\x00f3a";
            this.gridControl1.Dock = DockStyle.Fill;
            this.gridControl1.Location = new Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.MenuManager = this.barManager1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.Size = new Size(740, 0x120);
            this.gridControl1.TabIndex = 0;
            this.gridControl1.ViewCollection.AddRange(new BaseView[] { this.gridView1 });
            this.gridView1.BorderStyle = BorderStyles.NoBorder;
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.xtraTabControl1.BorderStyle = BorderStyles.NoBorder;
            this.xtraTabControl1.BorderStylePage = BorderStyles.NoBorder;
            this.xtraTabControl1.Dock = DockStyle.Fill;
            this.xtraTabControl1.HeaderButtons = TabButtons.Default | TabButtons.Next | TabButtons.Prev;
            this.xtraTabControl1.Location = new Point(0, 0x79);
            this.xtraTabControl1.Name = "xtraTabControl1";
            this.xtraTabControl1.SelectedTabPage = this.tabEmployee;
            this.xtraTabControl1.Size = new Size(0x2eb, 0x13d);
            this.xtraTabControl1.TabIndex = 8;
            this.xtraTabControl1.TabPages.AddRange(new XtraTabPage[] { this.tabEmployee, this.tabCandidate });
            this.ribbonControl1.ApplicationIcon = null;
            this.ribbonControl1.Location = new Point(0, 0);
            this.ribbonControl1.Name = "ribbonControl1";
            this.ribbonControl1.Pages.AddRange(new RibbonPage[] { this.ribbonPage1 });
            this.ribbonControl1.SelectedPage = this.ribbonPage1;
            this.ribbonControl1.ShowPageHeadersMode = ShowPageHeadersMode.Hide;
            this.ribbonControl1.ShowToolbarCustomizeItem = false;
            this.ribbonControl1.Size = new Size(0x2eb, 0x79);
            this.ribbonControl1.Toolbar.ShowCustomizeItem = false;
            this.ribbonControl1.ToolbarLocation = RibbonQuickAccessToolbarLocation.Above;
            this.ribbonPage1.Groups.AddRange(new RibbonPageGroup[] { this.ribbonPageGroup1 });
            this.ribbonPage1.Name = "ribbonPage1";
            this.ribbonPage1.Text = "ribbonPage1";
            this.ribbonPageGroup1.Name = "ribbonPageGroup1";
            this.ribbonPageGroup1.Text = "ribbonPageGroup1";
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x2eb, 0x1b6);
            base.Controls.Add(this.xtraTabControl1);
            base.Controls.Add(this.ribbonControl1);
            base.Controls.Add(this.barDockControlLeft);
            base.Controls.Add(this.barDockControlRight);
            base.Controls.Add(this.barDockControlBottom);
            base.Controls.Add(this.barDockControlTop);
            base.MinimizeBox = false;
            base.Name = "xfmTrash";
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "Th\x00f9ng R\x00e1c";
            this.barManager1.EndInit();
            this.repEmployee.EndInit();
            this.repositoryItemGridLookUpEdit1View.EndInit();
            this.repEmployeeName.EndInit();
            this.repFilter.EndInit();
            this.repBeginDate.VistaTimeProperties.EndInit();
            this.repBeginDate.EndInit();
            this.repToDate.VistaTimeProperties.EndInit();
            this.repToDate.EndInit();
            this.tabCandidate.ResumeLayout(false);
            this.gridControl2.EndInit();
            this.gridView2.EndInit();
            this.tabEmployee.ResumeLayout(false);
            this.gridControl1.EndInit();
            this.gridView1.EndInit();
            this.xtraTabControl1.EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.ribbonControl1.EndInit();
            base.ResumeLayout(false);
        }
    }
}

